package cn.icyzx.models;


import java.util.Date;

/**
 * Created by 郑凯 on 2016/7/18.
 */
public class Comment {
    private String commentId;
    private User user;
    private String wid;
    private String uid;
    private String info;
    private Date time;
    private String ago;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    public String getAgo() {
        return ago;
    }

    public void setAgo(String ago) {
        this.ago = ago;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentsId(String commentsId) {
        this.commentId = commentsId;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "commentId:" + commentId + ", info" + info + ", user : " + user.getUsername();
    }
}
